package com.example.swagger.entity;

public class UserAccount {

    private String account;//账户卡号
    private String uname;//名字
    private String upwd;//密码
    private double balance;//余额
    private int id;//账号id

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    //构造方法
    public UserAccount(String account, String uname, String upwd, double balance,int id) {
    //super();
        this.account = account;
        this.uname = uname;
        this.upwd = upwd;
        this.balance = balance;
        this.id = id;

    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }
}
